package com.shchekoldin.server.util;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "config")
public class Configuration {

    @XmlElement
    private String mercurialBranchesPageUrl;

    @XmlElement
    private String mercurialUsername;

    @XmlElement
    private String mercurialPassword;

    @XmlElement
    private String jiraEndpoint;

    @XmlElement
    private String jiraUsername;

    @XmlElement
    private String jiraPassword;

    // -------------------------------------------------------
    // GET & SET
    // -------------------------------------------------------

    public String getMercurialBranchesPageUrl() {
        return mercurialBranchesPageUrl;
    }

    public String getMercurialUsername() {
        return mercurialUsername;
    }

    public String getMercurialPassword() {
        return mercurialPassword;
    }

    public String getJiraEndpoint() {
        return jiraEndpoint;
    }

    public String getJiraUsername() {
        return jiraUsername;
    }

    public String getJiraPassword() {
        return jiraPassword;
    }

}
